home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
aplbas11.zip
/
APL2IBM.DOC
< prev
next >
Wrap
Text File
|
1991-02-24
|
2KB
|
57 lines
APL2IBM.EXE
Applesoft BASIC --> IBM Conversion Utility version 1.1.
by Eric Westcott, Waltham MA.
Contact on Channel-1 BBS, Cambridge MA.
This is a FREE program. I don't expect any compensation for this program,
except that you remember my name when you use it.
WHAT & WHY
==========
This program reads in an AppleSoft BASIC program file and writes out an IBM
text file. You can then enter GWBASIC and load the new file. That's it.
The new file should require few modifications, because AppleSoft was derived
from MicroSoft BASIC. Mostly you'll have to modify commands pertaining to
file handling and graphics.
It doesn't seem like much, but if you're a former Apple // BASIC programmer who
finally wised up and went IBM, you probably wanted to keep the programs you
wrote, and maybe, just maybe, someday convert them to IBM BASIC. Well, I DID,
anyway. So here is the program that will remove your greatest stumbling block,
decoding AppleSoft into text on the IBM.
HOW
===
First, you have to copy the AppleSoft file from the Apple // to your IBM PC
using some sort of communications package. I used a package called CrossWorks
which comes with a special that connects the serial ports of both machines
directly and allows transferring of files from one to the other (it was $80.00).
Yyou can use whatever file-transfer setup you have at your disposal. I'm
assuming you have some kind of communications on your IBM PC or you wouldn't be
reading this.
Once you have the AppleSoft file on your IBM PC, type the following:
APL2IBM filname.ext
Now run BASIC and type: load "filename.BAS"
That's it. Of course, you'll still have to make changes to the program,
substituting MicroSoft equivalents of some AppleSoft-specific commands.
WHO
===
Eric Westcott
2/24/91.
HISTORY
=======
Ver 1.1 Correct critical bug in detecting end of file.
Ver 1.0 Original.